﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class tools_SendEmail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        TQB.Plugin.Mail.SmtpMail smtp = new TQB.Plugin.Mail.SmtpMail();        
        bool ok = smtp.Send("zhu1922109:a1922109@smtp.163.com:25", "zhu1922109@163.com", "Peter", "zhu1922109@126.com", "Peter", false, "title", "context");
        Response.Write(ok.ToString() + smtp.ErrorMessage);

    }

}